export default {
  preset: "ts-jest/presets/default-esm", // 如果使用 TypeScript
  testEnvironment: "node",
  transformIgnorePatterns: ["!node_modules/"],
  moduleNameMapper: {
    "^lodash-es$": "lodash",
  },
  transform: {
    "^.+\\.(t|j)sx?$": [
      "ts-jest",
      {
        useESM: true,
      },
    ],
  },
};
